/*************************************************
Author: byron
Date: 01/31/2013
Description:
Notes: 
*************************************************/

#ifndef __cmdtreasure_h__
#define __cmdtreasure_h__

#include "../maindef.h"
#include "commclass.h"
#include "PBMsgHead.pb.h"
#include "MsgTreasure.pb.h"

class CMainCtrl;
class CCmdTreasure : public CTAsyncCmd
{
public:
    virtual int Do(void* pData);
    virtual int AnsClients(int iRet);
    virtual int LogicDo(int iRet);

    CMainCtrl* pstMainCtrl;
    PBMsgHead  stMsgHead;
    CEnpNetHead stEnpHead;

    MsgReqTreasure stReq;
    MsgAnsTreasure stAns;

	char 			chSubCmd;
    unsigned int 	uiGID;
};

#endif // __cmdtreasure_h__

